home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / include / inst.h < prev    next >
C/C++ Source or Header  |  1993-03-30  |  2KB  |  46 lines

  1. /* Copyright (c) 1992 The Geometry Center; University of Minnesota
  2.    1300 South Second Street;  Minneapolis, MN  55454, USA;
  3.    
  4. This file is part of geomview/OOGL. geomview/OOGL is free software;
  5. you can redistribute it and/or modify it only under the terms given in
  6. the file COPYING, which you should have received along with this file.
  7. This and other related software may be obtained via anonymous ftp from
  8. geom.umn.edu; email: software@geom.umn.edu. */
  9.  
  10. /* Authors: Charlie Gunn, Stuart Levy, Tamara Munzner, Mark Phillips */
  11.  
  12. #ifndef INSTDEFS
  13. #define INSTDEFS
  14.  
  15. /*
  16.  * Private definitions for Inst's.
  17.  */
  18.  
  19. #include "bbox.h"
  20.  
  21. typedef struct Inst Inst;
  22.  
  23. extern GeomClass *InstClass;        /* Public read-only; valid only
  24.                      * after first call to InstMethods()
  25.                      */
  26.  
  27. extern GeomClass *InstMethods( void );
  28.  
  29. extern Geom *InstImport( Pool *p );
  30. extern int   InstExport( Inst *, Pool * );
  31. extern int   InstGet( Inst *, int attr, void *attrp );
  32. extern Inst *InstLoad( char * );
  33. extern Inst *InstFLoad( FILE *, char *name );
  34. extern Inst *InstSave( Inst *, char * );
  35. extern Inst *InstFSave( Inst *, FILE *, char * );
  36. extern BBox *InstBound( Inst *, Transform T );
  37. extern Geom *InstBoundSphere( Inst *, Transform T, int );
  38. extern Inst *InstPosition( Inst *, Transform T );
  39. extern Inst *InstTransformTo( Inst *, Transform T );
  40. extern Inst *InstTransform( Inst *, Transform T );
  41. extern Inst *InstEvert( Inst * );
  42. extern Inst *InstDraw( Inst * );
  43. extern Geom *InstReplace( Inst *, Geom * );
  44.  
  45. #endif /*INSTDEFS*/
  46.